﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using PRO.ORM;
using System.Data;

namespace PRO.Entity
{
    [Entity(TableName = "Pro_Favorite")]
    public class FavoriteInfo : BaseEntity
    {
        private int _ID;
        /// <summary>
        /// id
        /// </summary>
        [EntityAttribute(SqlDbType = SqlDbType.Int, Len = 4, PrimaryKey = true)]
        public int ID
        {
            get { return _ID; }
            set { _ID = value; }
        }
        private int _PID;
        /// <summary>
        /// 商品id
        /// </summary>
        [EntityAttribute(SqlDbType = SqlDbType.Int, Len = 4)]
        public int PID
        {
            get { return _PID; }
            set { _PID = value; }
        }
        private int _UserID;
        /// <summary>
        /// 用户id
        /// </summary>
        [EntityAttribute(SqlDbType = SqlDbType.Int, Len = 4)]
        public int UserID
        {
            get { return _UserID; }
            set { _UserID = value; }
        }
        private DateTime _Adddate;
        /// <summary>
        /// 收藏时间
        /// </summary>
        [EntityAttribute(SqlDbType = SqlDbType.DateTime, Len = 8)]
        public DateTime Adddate
        {
            get { return _Adddate; }
            set { _Adddate = value; }
        }
    }
}
